﻿
using System;
using System.Text;
using System.Collections.Generic;
using TjZheng.Base;
namespace TjZheng.Power.DataEntity
{
    /// <summary>
    /// 角色用户视图：Sys_UserInfoRole_VW
    /// </summary>
    [Serializable]
    public class UserRoleInfoUser
    {
        #region Private Properties
        private long _id { get; set; }
        private long _groupId { get; set; }
        private long _userId { get; set; }
        private string _userName { get; set; }
        private string _realName { get; set; }
        #endregion

        #region Public Properties
        /// <summary>
        /// 
        /// </summary>
        [PrimaryKey]
        public long Id
        {
            get
            {
                return this._id;
            }
            set
            {
                this._id = value;
            }
        }
        /// <summary>
        /// 
        /// </summary>
        public long GroupId
        {
            get
            {
                return this._groupId;
            }
            set
            {
                this._groupId = value;
            }
        }
        /// <summary>
        /// 
        /// </summary>
        public long UserId
        {
            get
            {
                return this._userId;
            }
            set
            {
                this._userId = value;
            }
        }
        /// <summary>
        /// 
        /// </summary>
        public string UserName
        {
            get
            {
                return this._userName;
            }
            set
            {
                this._userName = value;
            }
        }
        /// <summary>
        /// 
        /// </summary>
        public string RealName
        {
            get
            {
                return this._realName;
            }
            set
            {
                this._realName = value;
            }
        }
        #endregion

        #region Construction
        public UserRoleInfoUser()
        {
            this._id = 0;
            this._userId = 0;
            this._userName = string.Empty;
            this._realName = string.Empty;

        }
        #endregion
    }
}